package com.mm.api.client;

import com.mm.common.domain.po.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("dictionary-server")
public interface DicClient {
    @PostMapping("/word/analysis")
    Result analysisText(@RequestParam("text")String text);
}
